package com.masterclient.app.modules.pickgoods.beans;

import com.google.gson.annotations.SerializedName;

import java.util.List;

public class PickGoodsOrderBean {

    @SerializedName("top_tips")
    public String topTips;
    @SerializedName("has_more")
    public boolean hasMore;
    @SerializedName("items")
    public List<ItemBean> items;

    public static class ItemBean{
        @SerializedName("order_id")
        public String orderId;
        @SerializedName("pay_at")
        public String payAt;
        @SerializedName("status")
        public String status;
        @SerializedName("status_desc")
        public String statusDesc;
        @SerializedName("product_num")
        public String productNum;
        @SerializedName("shipping_amount_text")
        public String shippingAmountText;
        @SerializedName("subtotal")
        public String subtotal;
        @SerializedName("products")
        public List<ProductsBean> products;
        public boolean isChecked = false;

        public static class ProductsBean{
            @SerializedName("product_id")
            public String productId;
            @SerializedName("parent_product_id")
            public String parentProductId;
            @SerializedName("name")
            public String name;
            @SerializedName("image")
            public String image;
            @SerializedName("attribute_text")
            public String attributeText;
            @SerializedName("price")
            public String price;
            @SerializedName("buy_qty")
            public String buyQty;
        }
    }
}
